﻿using System;
using Iot.Shared.Enums;
using Iot.Shared.Path;

namespace Iot.TimingDatabase.Models;

/// <summary>
///     表示列信息的记录类型
/// </summary>
/// <param name="Path">设备路径</param>
/// <param name="Type">总线数据类型</param>
/// <param name="EnumType">可选的枚举类型</param>
public record ColumnInfo(DevicePath Path, BusDataType Type, Type? EnumType = null);